import ElementPlus from 'element-plus'
// 加载 svg 图标
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import 'element-plus/dist/index.css'

import App from './App.vue'
import router from './router'
import pinia from './store'
import './utils/system.copyright'

import 'virtual:svg-icons-register'
import 'virtual:uno.css'
const app = createApp(App)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component)
}

// 全局样式
import '@/assets/styles/globals.scss'


app.use(ElementPlus)
app.use(pinia)
app.use(router)

app.mount('#app')
